package com.yxp423.ssmempl.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description: java类作用描述
 * @Author: yxp
 * @CreateDate: 2019-05-28 14:11
 * @Version: 1.0
 */

@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName("user_role")

public class UserRole {

	@TableId(type = IdType.UUID)
	private String id;
	private String userId;
	private String roleNo;

	@TableField(exist = false)
	private String roleName;

}
